package com.xiaoye.app.Test;

import org.apache.log4j.Logger;
import org.junit.Test;

/**
 * ��Ԫ������
 * 
 * @author xiaoye
 * @date 2018��4��8��
 */
public class  TestUnit{
	private static Logger logger =Logger.getLogger(TestUnit.class);
	private static Thread myThread;
	public static void main(String[] args) {
		myThread = new MyThread();
		myThread.run();
		System.out.println("main�������߳�!!");
	}
	@Test
	public void fun(){
		logger.info("!!!!!!!!!!!!!!!!!!!!!logg");
	}
}

class MyThread extends Thread {

	public void run() {
		try {
			sleep(3000);
			System.out.println("�����˶��߳�!!" + MyThread.class);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	
	}
}